package org.example.spring.carsalemanagementsystem.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 客户
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Client {
    private String clientid;
    private String name;
    private String telephone;
    private String address;
    private Integer status;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private LocalDateTime createtime;
}